/*
 * sum.h
 *
 *  Created on: Mar 14, 2015
 *      Author: silivas
 */

#ifndef SRC_SUM_H_
#define SRC_SUM_H_

int sum(int array[], int size){
	int res=0;
	for(int i =0 ; i < size; i++){
		res += array[i];
	}
	return res;
}



#endif /* SRC_SUM_H_ */
